package com.atguigu.gmall.item.client.degrade;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.item.client.ItemFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

@Slf4j
@Component
public class ItemDegradeFeignClient implements ItemFeignClient {
    @Override
    public Result<Map<String, Object>> getItemInfo(Long skuId) {
        log.error("[详情服务]执行了服务降级方法");
        return null;
    }
}